package cn.csust.net2.manager.shared.service;

import java.util.List;
import cn.csust.net2.manager.shared.exception.BeyondAuthorityException;
import cn.csust.net2.manager.shared.po.Student;
import cn.csust.net2.manager.shared.util.ServiceConstant;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath(value = ServiceConstant.MANAGER+ServiceConstant.SERVICE_NAME_BYGRADESERVICE)
public interface ByGradeService extends  BaseService,TreeService{
	
	public PagingLoadResult<Student> findAllByPaging(PagingLoadConfig config)throws BeyondAuthorityException;
	public <G> List<G> hql(String hql)throws BeyondAuthorityException;
}
